<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fns.tld" prefix="fns" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <jsp:include page="/resources/inc/head.jsp"/>
</head>
<form class="layui-form" id="_form">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="100">
        </colgroup>
        <thead>
        <tr>
            <th>时间</th>
            <th>类型</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${checkins}" var="checkin">
            <tr>
                <td>
                    <fmt:formatDate value='${checkin.checkinDate}' pattern='yyyy-MM-dd HH:mm:ss'/>
                </td>
                <td>
                        ${checkin.exceptionType}
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</form>
<body>
<jsp:include page="/resources/inc/pageFooter.jsp"/>
<script>
</script>
</body>
</html>
